package org.dromara.article.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 文章上传记录表
 */
@Data
@TableName(value = "article_upload_log")
public class ArticleUploadLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 文章类型ID
     */
    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 上传数量
     */
    @TableField(value = "upload_num")
    private Integer uploadNum;

    /**
     * 废稿数量
     */
    @TableField(value = "dis_num")
    private Integer disNum;

    /**
     * 可用文章数量
     */
    @TableField(value = "use_num")
    private Integer useNum;

    /**
     * 上传人
     */
    @TableField(value = "create_user")
    private Integer createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 创建者
     */
    @TableField(value = "created_by")
    private Long createdBy;

    /**
     * 更新者
     */
    @TableField(value = "updated_by")
    private Long updatedBy;

    /**
     * 删除者
     */
    @TableField(value = "deleted_by")
    private Long deletedBy;

}
